﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace WeChat.PlatForm.IService
{
    public interface IMemberService : IServiceTag
    {
        /// <summary>
        /// 会员登录
        /// </summary>
        /// <param name="email"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        Task<int> ToLogin(string email, string password);

        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="password"></param>
        /// <param name="email"></param>
        /// <param name="nick"></param>
        /// <returns></returns>
        Task<int> RegisterMember(string password, string email, string nick);
    }
}
